import Tourist from "@/views/Tourist.vue"//二级路由
import Tou from "@/views/Tou.vue"
import About from "@/views/About.vue"
import Message from "@/views/Message.vue"
import My from "@/views/My.vue"
const mainPage = [{
  path: '/about',//2级路由和1级路由拆分 分开写
  name: 'About',
  component: About,
  meta: {
    title: '首页',
    icon: 'home-o'
  }
}, {
  path: "/Tourist",
  name: "Tourist",
  component: Tourist,
  meta: {
    title: '新房',
    icon: 'home-o'
  }
}, {
  path: '/Tou',
  name: 'Tou',
  component: Tou,
  meta: {
    title: '二手',
    icon: 'home-o'
  }
}, {
  path: '/Message',
  name: 'Message',
  component: Message,
  meta: {
    title: '租房',
    icon: 'home-o'
  }
}, {
  path: '/My',
  name: 'My',
  component: My,
  meta: {
    title: '我的',
    icon: 'home-o'
  }
}]

export default mainPage